<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'${button.icon!}',plain:true"
onclick="meeting_list_file_upload()">
	${button.name!}
</a>
<script type="text/javascript">
var meeting_list_file_upload = function() {
	var $grid = $('#${gridId}');
    var rows = $grid.datagrid('getSelections');
    var num = rows.length;
    if (num == "0") {
    	$.slideMsg("请至少选择一条记录！");
        return;
    }
    var vals = [];
    for (var i = 0; i < rows.length; i++) { //组成一个字符串，ID主键用逗号隔开
    	vals.push(rows[i]['main_id']);
    }
	// 新开窗口生成脚本
    // window.open('/xxx/doRelease/' + vals.join(','));
	  //alert(vals[0]);
    $.post('/devcompanyFileJsp'+'?main_id='+vals[0], {
    }, function(result) {
    if (result.success) {
      }
    else{
    }
    }, 'JSON');
    //window.open('/MeetingListFileUpload'+'?main_id='+vals[0]);
};
</script>